package me.ele.spring.cloud.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by enan on 16/8/28.
 */
@RestController
public class AController {
    private final Logger logger = LoggerFactory.getLogger(getClass());

    @RequestMapping(value = "/a", method = RequestMethod.GET)
    public String a() {
        logger.info("a-service");
        return "a-service";
    }
}
